package com.hornsun.repository.mapper;

import com.hornsun.domain.dbo.Favourite;
import com.hornsun.domain.dbo.FavouriteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Component;

@Component
public interface FavouriteMapper {
    long countByExample(FavouriteExample example);

    int deleteByExample(FavouriteExample example);

    int deleteByPrimaryKey(String favouriteGuid);

    int insert(Favourite record);

    int insertSelective(Favourite record);

    List<Favourite> selectByExampleWithRowbounds(FavouriteExample example, RowBounds rowBounds);

    List<Favourite> selectByExample(FavouriteExample example);

    Favourite selectByPrimaryKey(String favouriteGuid);

    int updateByExampleSelective(@Param("record") Favourite record, @Param("example") FavouriteExample example);

    int updateByExample(@Param("record") Favourite record, @Param("example") FavouriteExample example);

    int updateByPrimaryKeySelective(Favourite record);

    int updateByPrimaryKey(Favourite record);


}